Optimal. Leaf size=210 \[ -\frac {4 b (2 a+b) \cos (c+d x) \sin (c+d x) \sqrt {a+b \sin ^2(c+d x)}}{15 d}-\frac {b \cos (c+d x) \sin (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}+\frac {\left (23 a^2+23 a b+8 b^2\right ) E\left (c+d x\left |-\frac {b}{a}\right .\right ) \sqrt {a+b \sin ^2(c+d x)}}{15 d \sqrt {1+\frac {b \sin ^2(c+d x)}{a}}}-\frac {4 a (a+b) (2 a+b) F\left (c+d x\left |-\frac {b}{a}\right .\right ) \sqrt {1+\frac {b \sin ^2(c+d x)}{a}}}{15 d \sqrt {a+b \sin ^2(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.19, antiderivative size = 210, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {3259, 3249,
3251, 3257, 3256, 3262, 3261} \begin {gather*} \frac {\left (23 a^2+23 a b+8 b^2\right ) \sqrt {a+b \sin ^2(c+d x)} E\left (c+d x\left |-\frac {b}{a}\right .\right )}{15 d \sqrt {\frac {b \sin ^2(c+d x)}{a}+1}}-\frac {b \sin (c+d x) \cos (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}-\frac {4 b (2 a+b) \sin (c+d x) \cos (c+d x) \sqrt {a+b \sin ^2(c+d x)}}{15 d}-\frac {4 a (a+b) (2 a+b) \sqrt {\frac {b \sin ^2(c+d x)}{a}+1} F\left (c+d x\left |-\frac {b}{a}\right .\right )}{15 d \sqrt {a+b \sin ^2(c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3249
Rule 3251
Rule 3256
Rule 3257
Rule 3259
Rule 3261
Rule 3262
Rubi steps
\begin {align*} \int \left (a+b \sin ^2(c+d x)\right )^{5/2} \, dx &=-\frac {b \cos (c+d x) \sin (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}+\frac {1}{5} \int \sqrt {a+b \sin ^2(c+d x)} \left (a (5 a+b)+4 b (2 a+b) \sin ^2(c+d x)\right ) \, dx\\ &=-\frac {4 b (2 a+b) \cos (c+d x) \sin (c+d x) \sqrt {a+b \sin ^2(c+d x)}}{15 d}-\frac {b \cos (c+d x) \sin (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}+\frac {1}{15} \int \frac {a \left (15 a^2+11 a b+4 b^2\right )+b \left (23 a^2+23 a b+8 b^2\right ) \sin ^2(c+d x)}{\sqrt {a+b \sin ^2(c+d x)}} \, dx\\ &=-\frac {4 b (2 a+b) \cos (c+d x) \sin (c+d x) \sqrt {a+b \sin ^2(c+d x)}}{15 d}-\frac {b \cos (c+d x) \sin (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}-\frac {1}{15} (4 a (a+b) (2 a+b)) \int \frac {1}{\sqrt {a+b \sin ^2(c+d x)}} \, dx+\frac {1}{15} \left (23 a^2+23 a b+8 b^2\right ) \int \sqrt {a+b \sin ^2(c+d x)} \, dx\\ &=-\frac {4 b (2 a+b) \cos (c+d x) \sin (c+d x) \sqrt {a+b \sin ^2(c+d x)}}{15 d}-\frac {b \cos (c+d x) \sin (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}+\frac {\left (\left (23 a^2+23 a b+8 b^2\right ) \sqrt {a+b \sin ^2(c+d x)}\right ) \int \sqrt {1+\frac {b \sin ^2(c+d x)}{a}} \, dx}{15 \sqrt {1+\frac {b \sin ^2(c+d x)}{a}}}-\frac {\left (4 a (a+b) (2 a+b) \sqrt {1+\frac {b \sin ^2(c+d x)}{a}}\right ) \int \frac {1}{\sqrt {1+\frac {b \sin ^2(c+d x)}{a}}} \, dx}{15 \sqrt {a+b \sin ^2(c+d x)}}\\ &=-\frac {4 b (2 a+b) \cos (c+d x) \sin (c+d x) \sqrt {a+b \sin ^2(c+d x)}}{15 d}-\frac {b \cos (c+d x) \sin (c+d x) \left (a+b \sin ^2(c+d x)\right )^{3/2}}{5 d}+\frac {\left (23 a^2+23 a b+8 b^2\right ) E\left (c+d x\left |-\frac {b}{a}\right .\right ) \sqrt {a+b \sin ^2(c+d x)}}{15 d \sqrt {1+\frac {b \sin ^2(c+d x)}{a}}}-\frac {4 a (a+b) (2 a+b) F\left (c+d x\left |-\frac {b}{a}\right .\right ) \sqrt {1+\frac {b \sin ^2(c+d x)}{a}}}{15 d \sqrt {a+b \sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.97, size = 194, normalized size = 0.92 \begin {gather*} \frac {16 a \left (23 a^2+23 a b+8 b^2\right ) \sqrt {\frac {2 a+b-b \cos (2 (c+d x))}{a}} E\left (c+d x\left |-\frac {b}{a}\right .\right )-64 a \left (2 a^2+3 a b+b^2\right ) \sqrt {\frac {2 a+b-b \cos (2 (c+d x))}{a}} F\left (c+d x\left |-\frac {b}{a}\right .\right )-\sqrt {2} b \left (88 a^2+88 a b+25 b^2-28 b (2 a+b) \cos (2 (c+d x))+3 b^2 \cos (4 (c+d x))\right ) \sin (2 (c+d x))}{240 d \sqrt {2 a+b-b \cos (2 (c+d x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 7.26, size = 437, normalized size = 2.08
method | result | size |
default | \(\frac {-\frac {b^{3} \sin \left (d x +c \right ) \left (\cos ^{6}\left (d x +c \right )\right )}{5}+\frac {\left (14 a \,b^{2}+10 b^{3}\right ) \left (\cos ^{4}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{15}+\frac {\left (-11 a^{2} b -18 a \,b^{2}-7 b^{3}\right ) \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{15}-\frac {8 \sqrt {\frac {\cos \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \sqrt {-\frac {b \left (\cos ^{2}\left (d x +c \right )\right )}{a}+\frac {a +b}{a}}\, \EllipticF \left (\sin \left (d x +c \right ), \sqrt {-\frac {b}{a}}\right ) a^{3}}{15}-\frac {4 a^{2} \sqrt {\frac {\cos \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \sqrt {-\frac {b \left (\cos ^{2}\left (d x +c \right )\right )}{a}+\frac {a +b}{a}}\, \EllipticF \left (\sin \left (d x +c \right ), \sqrt {-\frac {b}{a}}\right ) b}{5}-\frac {4 a \sqrt {\frac {\cos \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \sqrt {-\frac {b \left (\cos ^{2}\left (d x +c \right )\right )}{a}+\frac {a +b}{a}}\, \EllipticF \left (\sin \left (d x +c \right ), \sqrt {-\frac {b}{a}}\right ) b^{2}}{15}+\frac {23 \sqrt {\frac {\cos \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \sqrt {-\frac {b \left (\cos ^{2}\left (d x +c \right )\right )}{a}+\frac {a +b}{a}}\, \EllipticE \left (\sin \left (d x +c \right ), \sqrt {-\frac {b}{a}}\right ) a^{3}}{15}+\frac {23 \sqrt {\frac {\cos \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \sqrt {-\frac {b \left (\cos ^{2}\left (d x +c \right )\right )}{a}+\frac {a +b}{a}}\, \EllipticE \left (\sin \left (d x +c \right ), \sqrt {-\frac {b}{a}}\right ) a^{2} b}{15}+\frac {8 \sqrt {\frac {\cos \left (2 d x +2 c \right )}{2}+\frac {1}{2}}\, \sqrt {-\frac {b \left (\cos ^{2}\left (d x +c \right )\right )}{a}+\frac {a +b}{a}}\, \EllipticE \left (\sin \left (d x +c \right ), \sqrt {-\frac {b}{a}}\right ) a \,b^{2}}{15}}{\cos \left (d x +c \right ) \sqrt {a +\left (\sin ^{2}\left (d x +c \right )\right ) b}\, d}\) | \(437\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.12, size = 59, normalized size = 0.28 \begin {gather*} {\rm integral}\left ({\left (b^{2} \cos \left (d x + c\right )^{4} - 2 \, {\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + a^{2} + 2 \, a b + b^{2}\right )} \sqrt {-b \cos \left (d x + c\right )^{2} + a + b}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (b\,{\sin \left (c+d\,x\right )}^2+a\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________